package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunCoufigNineforwardMapper;
import com.ruoyi.yun.domain.YunCoufigNineforward;
import com.ruoyi.yun.service.IYunCoufigNineforwardService;

/**
 * 809转发管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunCoufigNineforwardServiceImpl implements IYunCoufigNineforwardService 
{
    @Autowired
    private YunCoufigNineforwardMapper yunCoufigNineforwardMapper;

    /**
     * 查询809转发管理
     * 
     * @param id 809转发管理主键
     * @return 809转发管理
     */
    @Override
    public YunCoufigNineforward selectYunCoufigNineforwardById(Long id)
    {
        return yunCoufigNineforwardMapper.selectYunCoufigNineforwardById(id);
    }

    /**
     * 查询809转发管理列表
     * 
     * @param yunCoufigNineforward 809转发管理
     * @return 809转发管理
     */
    @Override
    public List<YunCoufigNineforward> selectYunCoufigNineforwardList(YunCoufigNineforward yunCoufigNineforward)
    {
        return yunCoufigNineforwardMapper.selectYunCoufigNineforwardList(yunCoufigNineforward);
    }

    /**
     * 新增809转发管理
     * 
     * @param yunCoufigNineforward 809转发管理
     * @return 结果
     */
    @Override
    public int insertYunCoufigNineforward(YunCoufigNineforward yunCoufigNineforward)
    {
        return yunCoufigNineforwardMapper.insertYunCoufigNineforward(yunCoufigNineforward);
    }

    /**
     * 修改809转发管理
     * 
     * @param yunCoufigNineforward 809转发管理
     * @return 结果
     */
    @Override
    public int updateYunCoufigNineforward(YunCoufigNineforward yunCoufigNineforward)
    {
        return yunCoufigNineforwardMapper.updateYunCoufigNineforward(yunCoufigNineforward);
    }

    /**
     * 批量删除809转发管理
     * 
     * @param ids 需要删除的809转发管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigNineforwardByIds(Long[] ids)
    {
        return yunCoufigNineforwardMapper.deleteYunCoufigNineforwardByIds(ids);
    }

    /**
     * 删除809转发管理信息
     * 
     * @param id 809转发管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigNineforwardById(Long id)
    {
        return yunCoufigNineforwardMapper.deleteYunCoufigNineforwardById(id);
    }
}
